package com.lntu.meeting.service.impl;

import com.lntu.meeting.mapper.DeleteMapper;
import com.lntu.meeting.service.DeleteService;

public class DeleteServiceImpl implements DeleteService {
    @Autowired
    private DeleteMapper deleteMapper;
    @Override
    public Integer deleteByiId(Integer id) {
        Integer resultNum = -1;
           if (id!=null){
               resultNum = deleteMapper.deleteOne(id);
           }
           return resultNum;
    }
}
